﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class CommentDTO
    {
        private int id;
        private int taiKhoan;
        private string noiDung;
        private string date;
        private int diaDiem;
        private int commentId;

        #region
        public int CommentId
        {
            get { return commentId; }
            set { commentId = value; }
        }

        public int DiaDiem
        {
            get { return diaDiem; }
            set { diaDiem = value; }
        }

        public string Date
        {
            get { return date; }
            set { date = value; }
        }

        public string NoiDung
        {
            get { return noiDung; }
            set { noiDung = value; }
        }

        public int TaiKhoan
        {
            get { return taiKhoan; }
            set { taiKhoan = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        #endregion

        public CommentDTO()
        {
        }
        public CommentDTO(CommentDTO cm)
        {
            this.Id = cm.Id;
            this.TaiKhoan = cm.TaiKhoan;
            this.NoiDung = cm.NoiDung;
            this.Date = cm.Date;
            this.DiaDiem = cm.DiaDiem;
            this.CommentId = cm.CommentId;
        }
    }
}
